.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #f0f0f0;
  z-index: 1000;
  height: 3.75rem; /* 60px */
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  overflow: hidden;
  
  /* 重置所有TabBar相关样式 */
  :global(.adm-tab-bar) {
    height: 100% !important;
    background: white !important;
    border: none !important;
  }
  
  :global(.adm-tab-bar-content) {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
  }
  
  :global(.adm-tab-bar-item) {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #999 !important;
    transition: color 0.3s ease !important;
    padding: 0.375rem 0 !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
    
    &.adm-tab-bar-item-active {
      color: #1677ff !important;
    }
  }
  
  :global(.adm-tab-bar-item-icon) {
    font-size: 1.25rem !important; /* 20px */
    margin-bottom: 0.125rem !important; /* 2px */
    transition: all 0.3s ease !important;
    color: inherit !important;
    display: block !important;
    line-height: 1 !important;
    height: auto !important;
  }
  
  :global(.adm-tab-bar-item-title) {
    font-size: 0.625rem !important; /* 10px */
    margin-top: 0.125rem !important; /* 2px */
    font-weight: 500 !important;
    color: inherit !important;
    line-height: 1 !important;
    display: block !important;
    height: auto !important;
    overflow: hidden !important;
  }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .footer {
    height: 3.125rem !important; /* 50px */
  }
  
  :global(.adm-tab-bar-item-icon) {
    font-size: 1.125rem !important; /* 18px */
  }
  
  :global(.adm-tab-bar-item-title) {
    font-size: 0.5625rem !important; /* 9px */
  }
  
  :global(.adm-tab-bar-item) {
    padding: 0.25rem 0 !important; /* 4px 0 */
  }
}
